﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Microsoft.WindowsAzure;
using System.Configuration;

namespace AzureGames.Data.Implementation.Tests
{
    [TestClass]
    public class ResourceRepositoryTests
    {
        public ResourceRepositoryTests()
        {
            CloudStorageAccount.SetConfigurationSettingPublisher((configName, configSetter) =>
               {
                   // Provide the configSetter with the initial value
                   configSetter(ConfigurationManager.AppSettings[configName]);
               });
        }

        [TestMethod]
        public void TestMethod1()
        {
            PlayerRepository p = new PlayerRepository();
            var get = p.AIPlayerRepository.GetAIPlayers(1);

        }
    }
}
